/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.notify.entity;

import com.thinkgem.jeesite.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

/**
 * 推送消息Entity
 * @author 陈斌
 * @version 2018-12-13
 */
public class NotiMessage extends DataEntity<NotiMessage> {
	
	private static final long serialVersionUID = 1L;
	private String msgTitle;		//消息标题
	private String msgContent;		// 消息内容
	private String pushPlatform;		// 推送平台
	private String pushType;		// 推送类型/目标
	private String pushAliasTag;    //推送别名/目标
	private Long pushAndroidToal;		// 安卓推送总数
	private Long pushAndroidSuccess;		// 安卓推送成功数
	private Long pushAppleToal;		// 苹果推送总数
	private Long pushAppleSuccess;		// 苹果推送成功数
	private Long pushWinphoneToal;		// winphone推送总数
	private Long pushWinphoneSuccess;		// winphone推送成功数
    private String appid;//appid
    private String appedition;//app版本

    public NotiMessage() {
		super();
	}

	public NotiMessage(String id){
		super(id);
	}

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public String getMsgTitle() {
		return msgTitle;
	}

	public void setMsgTitle(String msgTitle) {
		this.msgTitle = msgTitle;
	}

	@Length(min=0, max=1024, message="消息内容长度必须介于 0 和 1024 之间")
	public String getMsgContent() {
		return msgContent;
	}

	public void setMsgContent(String msgContent) {
		this.msgContent = msgContent;
	}

	@Length(min=0, max=20, message="推送平台长度必须介于 0 和 20 之间")
	public String getPushPlatform() {
		return pushPlatform;
	}

	public void setPushPlatform(String pushPlatform) {
		this.pushPlatform = pushPlatform;
	}

	@Length(min=0, max=20, message="推送类型/目标长度必须介于 0 和 20 之间")
	public String getPushType() {
		return pushType;
	}

	public void setPushType(String pushType) {
		this.pushType = pushType;
	}

	public Long getPushAndroidToal() {
		return pushAndroidToal;
	}

	public void setPushAndroidToal(Long pushAndroidToal) {
		this.pushAndroidToal = pushAndroidToal;
	}

	public Long getPushAndroidSuccess() {
		return pushAndroidSuccess;
	}

	public void setPushAndroidSuccess(Long pushAndroidSuccess) {
		this.pushAndroidSuccess = pushAndroidSuccess;
	}

	public Long getPushAppleToal() {
		return pushAppleToal;
	}

	public void setPushAppleToal(Long pushAppleToal) {
		this.pushAppleToal = pushAppleToal;
	}

	public Long getPushAppleSuccess() {
		return pushAppleSuccess;
	}

	public void setPushAppleSuccess(Long pushAppleSuccess) {
		this.pushAppleSuccess = pushAppleSuccess;
	}

	public Long getPushWinphoneToal() {
		return pushWinphoneToal;
	}

	public void setPushWinphoneToal(Long pushWinphoneToal) {
		this.pushWinphoneToal = pushWinphoneToal;
	}

	public Long getPushWinphoneSuccess() {
		return pushWinphoneSuccess;
	}

	public void setPushWinphoneSuccess(Long pushWinphoneSuccess) {
		this.pushWinphoneSuccess = pushWinphoneSuccess;
	}

	public String getPushAliasTag() {
		return pushAliasTag;
	}

	public void setPushAliasTag(String pushAliasTag) {
		this.pushAliasTag = pushAliasTag;
	}

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getAppedition() {
        return appedition;
    }

    public void setAppedition(String appedition) {
        this.appedition = appedition;
    }
}